<?php get_header(); ?>
	
	<?php if (have_posts()) : ?>
		
		<?php while (have_posts()) : the_post(); ?>

		<div id="sidebr">
            	当前位置:&nbsp;&rArr;&nbsp;<a href="<?php bloginfo('home');?>" >首页</a> &nbsp;&rArr;&nbsp;<span><?php the_title();?></span>
        </div>
        
		<div class="caozuo whitebg" >
				<span id="youxi">游戏名称：<span id="name"><?php the_title();?></span></span>
				<span id="leibie">类别：<?php the_category();?></span>
				<p><strong>操作方法</strong>：<?php the_content();?></p>
				<img src="<?php echo get_bloginfo('template_url');?>/images/yincang.jpg" width="132" height="42" />
			</div>
            <div id="conter" style=" border:#dddddd solid 3px;" >
           	  <div id="conter_falsh">
					<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="639" height="488">
					<param name="movie" value="http://10.9669.com:801/2010/Extreme4X4Racer.swf" />
					  <param name="quality" value="high" />
					  <em	bed src="http://10.9669.com:801/2010/Extreme4X4Racer.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="639" height="488" ></embed>
					  </object>
            	</div>	
                <div id="conter-right">
                	<h4>推荐游戏</h4>
                    <div class="hotyou">
                    	<a href="#" target="_blank"><img src="<?php bloginfo("template_url");?>/images/fot-01.gif" class="postt" />
                        <img src="<?php bloginfo("template_url");?>/images/game-photo.jpg" width="104" height="79" alt="应该显示游戏名" title="应该显示游戏名" border="0"/>
                        街头霸王II,街头霸
                        </a>
                    </div>
                    <div class="hotyou">
                    	<a href="#" target="_blank"><img src="<?php bloginfo("template_url");?>/images/fot-02.gif" class="postt" />
                        <img src="<?php bloginfo("template_url");?>/images/game-photo.jpg" width="104" height="79" alt="应该显示游戏名" title="应该显示游戏名" border="0"/>
                        街头霸王II,街头霸
                        </a>
                    </div>
                    <div class="hotyou">
                    	<a href="#" target="_blank"><img src="<?php bloginfo("template_url");?>/images/fot-03.gif" class="postt" />
                        <img src="<?php bloginfo("template_url");?>/images/game-photo.jpg" width="104" height="79" alt="应该显示游戏名" title="应该显示游戏名" border="0"/>
                        街头霸王II,街头霸
                        </a>
                    </div>
                    <div class="hotyou">
                    	<a href="#" target="_blank"><img src="<?php bloginfo("template_url");?>/images/fot-04.gif" class="postt" />
                        <img src="<?php bloginfo("template_url");?>/images/game-photo.jpg" width="104" height="79" alt="应该显示游戏名" title="应该显示游戏名" border="0"/>
                        街头霸王II,街头霸
                        </a>
                    </div>
                </div>
				<div id="conter-buttom">
					<div id="buttom-left">
						<ul>
							<li><a id="fs_a" href="javascript:void(0)" onclick="document.location.reload();" target="_self">重玩</a> </li>
							<li><a id="zb_a" onclick="player.zoom(1)" href="javascript:void(0)" target="_self">放大</a> </li>
							<li class="dp"><a id="zs_a" onclick="player.zoom(-1)" href="javascript:void(0)" target="_self">缩小</a></li>
							<li class="dp"><a id="best_a" onclick="ReSize('1280')" href="javascript:void(0)" target="_self">大屏</a> </li>
							<li class="dp"><a id="down_a" onclick="ReSize('800');" href="javascript:void(0)" target="_self">小屏</a> </li>
							<li class="dp"><a onclick="yuansi" href="javascript:void(0);" target="_self">原始</a></li>
							<li class="ys"><a onclick="down_win(nFlashId)" href="javascript:void(0)" target="_self">下载</a></li>
							<li class="qp1"><a id="playmethod" onclick="CopyUrl(52010,'超人奥特曼0.8');" href="javascript:void(0)" target="_self">发给好友</a> </li>
							<li class="ys"><a id="fav_a" onclick="AddFav(52010,'','超人奥特曼0.8')" href="javascript:void(0);" target="_self">收藏</a> </li>
							<li class="qp1"><a id="ctrlbg" target="_self" onclick="">存到桌面</a></li>
							<li class="qp2"><a id="FullScreenBtn2" href="javascript:void(0)">全屏2</a></li>
							<li class="qp2"><a id="ctrlbg" onclick="FullPlay333()">全屏游戏</a></li>
						</ul>
					</div>
					<div class="user_rate">
						 <div class="big_rate_bak">
							 <b rate="1" onclick="javascript:up_rate(10);">&nbsp;</b>
							 <b rate="2" onclick="javascript:up_rate(20);">&nbsp;</b>
							 <b rate="3" onclick="javascript:up_rate(30);">&nbsp;</b>
							 <b rate="4" onclick="javascript:up_rate(40);">&nbsp;</b>
							 <b rate="5" onclick="javascript:up_rate(50);">&nbsp;</b>
							 <div style="width:45px;" class="big_rate_up"></div>
					 	 </div>
						 <p><span id="s" class="s"></span><span id="g" class="g"></span></p>
					</div>
				</div>
			</div>
			<div id="pinglun"  class="whitebg">
				<img src="<?php bloginfo("template_url");?>/images/pinglun.jpg" width="124" height="36" id="youxipinglun"/>
			<?php if ( !have_comments() ) : 
			 	$comments = get_comments(array('post_id'=>get_the_ID()));
				foreach ($comments as $key => $comment){
			?>
				<div>
					<span class="louceng"><strong><?php echo $key;?>楼</strong></span>
					<p>
						<?php echo $comment->comment_content;?>
					<br /><br /><span><?php echo $comment->comment_date;?>&nbsp;&nbsp;IP:<?php echo $comment->comment_author_IP;?>&nbsp;&nbsp;<?php echo $comment->comment_author;?></span>				</p>
					<img src="<?php bloginfo("template_url");?>/images/top.gif" class="topimg" />
				</div>
			<?php }?>
			<?php else :?>
			暂时没有评论。
			<?php  endif;?>
			</div>
			
			
			<div id="xiepinglun" class="whitebg">
			
			<?php if ('open' == $post->comment_status) : ?>
				<div id="xiepinglun_top">
					<ul>
						<li><img src="<?php bloginfo("template_url");?>/images/zhuanxiepinglun.jpg" width="124" height="36"/></li>
					</ul>	
				</div>
				<form id="commentform" method="post" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php">
				<?php if ( $user_ID ) : ?>
					<p>你好：&nbsp;<a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="退出账号">退出</a></p>
				<?php else :?>
					<div id="xiepinglun_center">
						<p><label for="author">昵称： <?php if ($req) echo "&nbsp;&nbsp;(&nbsp;必须的&nbsp;)"; ?></label><input class="boder" type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> /></p>

						<p><label for="email">留个邮箱 <?php if ($req) echo "&nbsp;&nbsp;(&nbsp;必须的&nbsp;)"; ?></label><input class="boder" type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /></p>
					</div>
				<?php endif;?>
					<div id="xiepinglun_buttom">
						<ul>
							<li id="nicheng">内容：</li>
							<li>
								<label for="comment">输入内容</label><textarea id="ping_content" name="comment" id="comment" cols="100%" rows="10" tabindex="4" class="boder"></textarea>
							</li>
						</ul>
					</div>
					<?php comment_id_fields(); ?>
					<span id="fabiao"><input type="submit" id="tijiao" title="发表评论" value="发表评论" /></span>
				</form>
				
				
				<?php else :?>
					评论已关闭。
				<?php endif;?>
			</div>
		<?php endwhile; else : ?>
		
			没有找到您要找的游戏。
		<?php endif; ?>		
			
<?php get_footer();?>